package com.intellagric.service.sso;

import com.intellagric.common.pojo.ResponseMessage;
import com.intellagric.pojo.SysUser;

/**
 * @Auther: zhy
 * @Date: 2018/10/7
 * @Description: token相关服务接口
 */
public interface TokenService {

    //查询token，查询用户信息
    ResponseMessage getUserByToken(String token);

    //更新缓存的信息
    ResponseMessage editUserByToken(String token, SysUser sysUser);

}
